package com.designpattern.demo.design1;

/**
 * Created by lingchen on 2019/11/25. 21:00
 * mail:lingchen52@foxmail.com
 */
public abstract class Operation {

    private double number_a;
    private double number_b;

    public double getNumber_a() {
        return number_a;
    }

    public void setNumber_a(double number_a) {
        this.number_a = number_a;
    }

    public double getNumber_b() {
        return number_b;
    }

    public void setNumber_b(double number_b) {
        this.number_b = number_b;
    }

    public abstract double getResult() throws Exception;

}
